package com.example.demo.client.vm.cssmqry.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-31 10:38:10
 */
@Alias("QryRoleVm")
@ApiModel
public class QryRoleVm implements Serializable {
    private static final long serialVersionUID = -1650196858621723371L;
    @ApiModelProperty("角色id")
    private Long id;
    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("父角色id")
    private Long parentId;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("角色标识")
    private String roleFlag;
    @ApiModelProperty("全量角色id")
    private String fullRoleId;
    @ApiModelProperty("角色类型")
    private Integer roleType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRoleFlag() {
        return roleFlag;
    }

    public void setRoleFlag(String roleFlag) {
        this.roleFlag = roleFlag;
    }

    public String getFullRoleId() {
        return fullRoleId;
    }

    public void setFullRoleId(String fullRoleId) {
        this.fullRoleId = fullRoleId;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    @Override
    public String toString() {
        return "QryRoleVm{" +
            "id=" + id +
            ", roleName='" + roleName + '\'' +
            ", parentId=" + parentId +
            ", description='" + description + '\'' +
            ", roleFlag='" + roleFlag + '\'' +
            ", fullRoleId='" + fullRoleId + '\'' +
            '}';
    }
}
